package com.ruoyi.project.system.service.impl;

import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.project.system.domain.SiyuCharge;
import com.ruoyi.project.system.mapper.SiyuChargeMapper;
import com.ruoyi.project.system.service.ISiyuChargeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 收费记录Service业务层处理
 *
 */
@Service
public class SiyuChargeServiceImpl implements ISiyuChargeService
{
    @Autowired
    private SiyuChargeMapper siyuChargeMapper;

    /**
     * 新增收费记录
     * 
     * @param siyuCharge 收费记录
     * @return 结果
     */
    @Override
    public int insertSiyuCharge(SiyuCharge siyuCharge)
    {
        siyuCharge.setCreateTime(DateUtils.getNowDate());
        return siyuChargeMapper.insertSiyuCharge(siyuCharge);
    }

}
